package cn.azy.document.common;

import cn.azy.document.tool.ReadWordThread;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @ Author     ：AZY.
 * @ Date       ：Created in 10:24 2019/10/22
 * @ Description：${DESCRIPTION}
 */
@Component
@Slf4j
public class ApplicationRunnerImpl implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
       log.info("开始分析数据");
       ReadWordThread.word();
//        ReadWord.word();
    }
}
